#pragma  once

#ifndef STATE_H
#define STATE_H

#include "GameSprite.h"
#include "Animation.h"


class State
{

public:
	State();
	string getName(){return name;};

	Animation* getAnimation(){return animation;};
	void setAnimation(Animation* animation);

	virtual void Enter(GameSprite* sprite);
	virtual void Do(double time);
	virtual void Exit();

protected:
	Animation* animation;
	GameSprite * sprite;
	string name;
	

};

#endif